<!DOCTYPE html>
<html>
<head>
	<meta name="renderer" content="webkit" />
	<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge,chrome=1" />
	<title>{$menu_info['title']} - {$website_info['title']|default="多开运营Saas版"}</title>
	<meta name="keywords" content="{$home_info['seo_keywords']|default=''}">
	<meta name="description" content="{$home_info['seo_description']|default=''}">
	<link rel="icon" type="image/x-icon" href="__STATIC__/img/shop_bitbug_favicon.ico" />
	<link rel="stylesheet" type="text/css" href="STATIC_CSS/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/ext/layui/css/layui.css" />
	<link rel="stylesheet" type="text/css" href="INDEX_CSS/common.css" />
	<script src="__STATIC__/js/jquery-3.1.1.js"></script>
	<script src="__STATIC__/ext/layui/layui.js"></script>
	<script>
		layui.use(['layer', 'upload', 'element'], function() {});

		window.ns_url = {
			baseUrl: "ROOT_URL/",
			route: ['{:request()->module()}', '{:request()->controller()}', '{:request()->action()}'],
			siteid:0
		};
	</script>
	<script src="__STATIC__/js/common.js"></script>

	{block name="resources"}{/block}
</head>

<body>
{block name="body"}
	<div class="layui-layout layui-layout-admin">
		{block name='head'}
		<div class="layui-header">
			<div class="layui-logo">
				<a href="{$root_url}" class="ns-logo">
					{if !empty($website_info.logo)}
					<img src="{:img($website_info.logo)}">
					{else/}
					<img src="HOME_IMG/shop_logo.png" alt="">
					{/if}
				</a>
			</div>
			
			<ul class="layui-nav layui-layout-left">
				{foreach $menu as $menu_item}
				<li class="layui-nav-item {if $menu_item.is_select == 1} layui-this{/if}">
					<a href="{:url($menu_item.url)}">{$menu_item.title}</a>
				</li>
				{/foreach}
			</ul>

			<!-- 账号 -->
			<div class="ns-login-box layui-layout-right">
				{if $business_type == 3}
				<a href="{:url('home/login/register')}" class="layui-btn ns-bg-color">立即注册</a>
				{/if}
				<a href="{:url('home/login/login')}" class="layui-btn layui-btn-primary">登录</a>
			</div>
		</div>
		{/block}
		<div class="ns-body-content">
			<!-- 四级导航 -->
			{block name="main"}{/block}
		</div>
		
		<div class="ns-footer">

			<div class="ns-content-box">
				<div class="ns-footer-item">
					<div class="ns-logo_bottom">
						{if !empty($website_info.logo)}
						<img src="{:img($website_info.logo)}">
						{else/}
						<img src="HOME_IMG/shop_logo.png" alt="">
						{/if}
					</div>
					<p class="ns-text_left">开店咨询：{$website_info.web_phone}</p>
					<p class="ns-text_left">营业时间：周一到周日 9:00~18:00</p>
				</div>
				<div class="ns-footer-item">
					<div class="ns-footer-title">
						<span>网站导航</span>
					</div>
					<a href="#">社交电商</a>
					<a href="#">门店零售</a>
					<a href="#">合作伙伴</a>
				</div>
				<div class="ns-footer-item">
					<div class="ns-footer-title">
						<span>站点帮助</span>
					</div>
					{foreach $help_list as $item}
					<a href="{:url('index/index/getHelpDetail','id='.$item.id)}">{$item.title}</a>
					{/foreach}
				</div>
				<div class="ns-footer-item">
					<div class="ns-footer-title">
						<span>商家案例</span>
					</div>
				</div>
				<div class="ns-footer-item">
					<div class="ns-footer-title">
						<span>关于我们</span>
					</div>
				</div>
				<div class="ns-footer-item">
					<div class="ns-footer-title">
						<span>关注微信公众号</span>
					</div>
					<div class="ns-erweima">
						{if !empty($website_info.web_qrcode)}
						<img src="{:img($website_info.web_qrcode)}">
						{else/}
						<img src="__STATIC__/img/wxewm.png" alt="">
						{/if}
					</div>
					
				</div>
			</div>

			<div class="copy-right-wrap">
				<a class="copy-right-img" href="#"><img src="{if !empty($copyright.logo)} {:img($copyright.logo)} {else /}__STATIC__/img/copyright_logo.png{/if}" /></a>
				<p>{notempty name="$copyright.company_name"}{$copyright.company_name}{else/}上海牛之云网络科技有限公司{/notempty} {notempty name="$copyright.icp"}<a href={$copyright.copyright_link}>&nbsp;&nbsp;备案号{$copyright.icp}</a>{/notempty}</p>
				{notempty name="$copyright.gov_record"}<a class="gov-box" href={$copyright.gov_url}><img src="HOME_IMG/gov_record.png" alt="">公安备案{$copyright.gov_record}</a>{/notempty}
			</div>
		</div>
	</div>

	<script type="text/javascript">

	</script>
{/block}
{block name="script"}
{/block}
</body>

</html>